package com.jxc.entity;

/**
 * Recordlist entity. @author MyEclipse Persistence Tools
 */

public class Recordlist implements java.io.Serializable {

	// Fields

	private Integer id;
	private Record record;
	private String commoditySn;
	private Integer number;
	private Double price;
	private String username;
	private String staffname;
	private String companyname;

	// Constructors

	/** default constructor */
	public Recordlist() {
	}

	/** full constructor */
	public Recordlist(Record record, String commoditySn, Integer number,
			Double price, String username, String staffname, String companyname) {
		this.record = record;
		this.commoditySn = commoditySn;
		this.number = number;
		this.price = price;
		this.username = username;
		this.staffname = staffname;
		this.companyname = companyname;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Record getRecord() {
		return this.record;
	}

	public void setRecord(Record record) {
		this.record = record;
	}

	public String getCommoditySn() {
		return this.commoditySn;
	}

	public void setCommoditySn(String commoditySn) {
		this.commoditySn = commoditySn;
	}

	public Integer getNumber() {
		return this.number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getStaffname() {
		return this.staffname;
	}

	public void setStaffname(String staffname) {
		this.staffname = staffname;
	}

	public String getCompanyname() {
		return this.companyname;
	}

	public void setCompanyname(String companyname) {
		this.companyname = companyname;
	}

}